home *** CD-ROM | disk | FTP | other *** search
/ PC World Interactive 7 / PC World Interactive 7.iso / bb2000 / files / BlueMenu.dxr / 00016.ls < prev    next >
Encoding:
Text File  |  1998-02-20  |  508 b   |  27 lines

  1. global gIntroTriggerFlag, gMasterObj
  2.  
  3. on startMovie
  4.   set the exitLock to 1
  5.   if voidp(gMasterObj) or (gMasterObj = 0) then
  6.     set gMasterObj to new(script "masterScript")
  7.   end if
  8.   if voidp(gIntroTriggerFlag) then
  9.     set gIntroTriggerFlag to 0
  10.   end if
  11.   autoUnloadMovie(gMasterObj)
  12. end
  13.  
  14. on idle
  15.   if the platform = "Windows,32" then
  16.     checkSound(gMasterObj)
  17.   end if
  18. end
  19.  
  20. on goWhichMovie
  21.   if gIntroTriggerFlag then
  22.     autoGoMovie(gMasterObj, "BlueGame", 0)
  23.   else
  24.     go(1, "BlueIntr")
  25.   end if
  26. end
  27.